/*
 * StateMonitoringVCR.java
 *
 * Created on December 1, 2005, 4:17 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.mbari.vcr.timer;

import org.mbari.vcr.IVCR;

/**
 * This class is specifically designed for the 
 * <a href="http://vars.sourceforge.net">Video Annotation and Reference
 * System</a>. It periodically requests updates to status and timecode. When the
 * VCR is recording it also writes UTC time to the userbits on the tape.
 *
 * @author brian
 */
public class AnnotationMonitoringVCR extends MonitoringVCR {
    
    
    /**
     * Creates a new instance of StateMonitoringVCR
     */
    public AnnotationMonitoringVCR() {
        this(DUMMY_VCR);
    }
    
    public AnnotationMonitoringVCR(IVCR vcr) {
        super();
        addMonitor(new StatusMonitor());
        addMonitor(new TimecodeMonitor());
        addMonitor(new WriteTimeMonitor());
        setVcr(vcr);
        requestStatus();
    }
    
}
